<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <link rel="stylesheet" href="../css/all.css">
    <title>博客-上传</title>
</head>

<body>
    <nav class="left">
        <ul>
            <li>
                <a href="" class="aimg"><img src="" alt=""><br>
                    <span style="color:gray"></span></a>
            </li>
            <li class="active"><a href="../index.html">首页</a></li>
            <li class="active"><a href="../data.html">存档</a></li>
            <li class="active"><a href="../ele.html">标签</a></li>
            <li class="active">
                <a href="" class="fa"></a>
            </li>
            <li class="active">
                <a href="" class="fa"></a>
            </li>
            <li class="active">
                <a href="" class="fa"></a>
            </li>
            <li><input type="text" placeholder="SEARCH" id="search"></li>
        </ul>
    </nav>
    <div class="clear"></div>
    <section>
        <h1>上传</h1>
        <form class="form" action="/api/user/photo" method="POST" enctype="multipart/form-data">
            <input type="file" name="photo" required accept=".jpg,.png"><br>
            <input type="submit" value="上传">
        </form>
    </section>
    <script src="../libs/jquery.js"></script>
    <script src="../libs/jquery.cookie.js"></script>
    <script src="../scripts/user/photo.js"></script>
</body>

</html>